package com.winit;

import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.ImportResource;

/**
 * 入口
 * @author bolingcavalry
 * @email zq2599@gmail.com
 * @date 2017/04/09 11:29
 */
@Configuration
@SpringBootApplication
@ImportResource(locations={"classpath:application-bean.xml"})
public class CloudMainApplication {
    public static void main(String[] args) {
        new SpringApplicationBuilder(CloudMainApplication.class).web(true).run(args);
    }

}
